<!-- 功能配置 -->
<template>
  <div>子系统引擎注册成功！</div>
</template>
<script>
  import { defineComponent } from 'vue';
  import { useFuncConfig } from '@/hooks/use-func-config';
  import { useMicroStore } from '@common/store/micro-store';
  export default defineComponent({
    setup() {
      const microStore = useMicroStore();
      const { showFuncConfig } = useFuncConfig();
      // 打开配置信息
      microStore.on('function-show-config', (...args) => showFuncConfig(...args));

      microStore.on('table-show-function-init', ({ funcId }) => {
        showFuncConfig({ funcId });
      });
    },
  });
</script>
